package com.ithm;
import java.util.Random;
import java.util.Scanner;
public class hello {
    public static void main(String[] args) {
        Random r=new Random();
        int a=r.nextInt(100)+1;
        Scanner sc=new Scanner(System.in);
        while (true){
            int cai=sc.nextInt();
            if (cai>a){
                System.out.println("您猜大了");
            }else if (cai<a){
                System.out.println("您猜小了");
            }else{
                System.out.println("恭喜您猜中了");
               break;
            }
        }
        System.out.println("hhh");
    }
}

